package com.flower.enjoyment.flower.mapper;

import com.flower.enjoyment.flower.entity.AssessImg;
import org.apache.ibatis.annotations.Param;

public interface AssessImgMapper {
    int deleteByPrimaryKey(String id);

    int insert(AssessImg record);

    int insertSelective(AssessImg record);

    AssessImg selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AssessImg record);

    int updateByPrimaryKey(AssessImg record);

    /**
     * 删除评论图片根据评论ID
     * @param assessId
     * @return
     */
    int deleteByAssessId(@Param("assessId") String assessId);
}